package com.catt.orderdinner.repository;

import com.catt.orderdinner.dataobject.TbFood;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TbFoodRepository extends JpaRepository<TbFood, String> {
    @Override
    Page<TbFood> findAll(Pageable pageable);

    TbFood findOneByFoodId(String foodId);
}
